<template>
	<view class="package" style="width: 100%;padding:0rpx">
		<view class="teamList" v-for="(item,index) in priceList" :key="index">
			<view class="teams" 
			:style="{backgroundImage:item.is_active==1?`url(${Spliticon})`:`url(${Spliticon2})`}">
				<image :src="item.level_image" mode=""></image>
				<view>
					<text>团惠价</text>
					<text>¥</text>
					<text>{{addNums=='0'?item.money:'0.00'}}</text>
				</view>
				<view>
					<text>平台补贴</text>
					<text>¥</text>
					<text>{{addNums=='0'?item.yh_money:'0.00'}}</text>
				</view>
			</view>
			<view class="but" v-if="index<priceList.length-1"></view>
		</view>
	</view>
</template>

<script setup lang="ts">
import { Spliticon,Spliticon2 } from '@/utils/Static';
	const props = defineProps({
	  priceList: { type: Array },
	  addNums:{ type: Number },
	});
</script>

<style scoped lang="less">
	@import url('../groupBenefits/less/teamPrice.less');
</style>